package com.nnfe.fyd;

import android.app.Application;
import android.content.Context;
import android.os.Handler;

import com.nnfe.fyd.utils.ImageUtil;

/**
 * Created by Administrator on 2016/3/14 0014.
 */
public class App extends Application {

    private static Context context;
    private static Handler mHandler;

    @Override
    public void onCreate() {
        super.onCreate();

        context = this;
        mHandler = new Handler();
        ImageUtil.init(context);

    }

    public static Handler getMainHandler() {
        return mHandler;
    }

    public static Context getContext() {
        return context;
    }
}

